home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / H-I / HDA Tech Note #1.cpt / HDA Tech Note #1 / card_5525.txt < prev    next >
Text File  |  1989-02-26  |  3KB  |  43 lines

  1. -- card: 5525 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2619
  5. -- name: The Basic Principles
  6.  
  7.  
  8. -- part contents for background part 3
  9. ----- text -----
  10.  
  11. The Basic Principles
  12.  
  13. -- part contents for background part 2
  14. ----- text -----
  15.  
  16. There are three basic ground rules you must rememeber when designing stacks that will or may ultimately be used by people who wish to use HyperDA:
  17.  
  18. 1.  Remember that users accessing a stack through HyperDA are always in
  19.      browse mode.  That means they cannot alter information, add new 
  20.      contents to fields, or otherwise change the stack‚Äôs contents.  This also 
  21.      means that your scripts cannot change the contents of the stack.  The
  22.      fundamental rule, then, is:  no command that alters stack contents will
  23.      work in HyperDA.
  24.  
  25. 2.  Visual effects are not visible when stacks are being browsed within 
  26.      HyperDA.  Having visual effects present in your stacks will not, in and 
  27.      of itself, make them incompatible with HyperDA; it‚Äôs just that users 
  28.      will not see those effects.  If you are using the effects to convey content,
  29.      you‚Äôll find some loss of information in the translation if you don‚Äôt 
  30.      think about this design issue in advance.
  31.  
  32. 3.  Sound effects, other than the usual Macintosh ‚Äúbeep‚Äù  are not audible
  33.      in HyperDA.
  34.  
  35. Beyond these limits -- and in partial explanation of some of them -- HyperDA supports a limited but powerful sub-set of the HyperTalk‚Ñ¢ programming language commands built into HyperCard.
  36.  
  37. These principles -- browse-only stacks without visual or sound effects and a limited HyperTalk vocabulary support --mean, among other things, that stacks to be used with HyperDA should be content-centered rather than action-centered.  If the primary purpose of your stack is to transfer information to users, it is a prime candidate for HyperDA implementation and adaptation.  If, on the other hand, you are building a calculator-type stack that must generate and display new values, it won‚Äôt work under HyperDA at all.  In between, of course, are all manner of stacks that need more or less interaction.
  38.  
  39. For example, a typical address stack might at first glance appear to require the user to be able to enter new people into it and therefore not very useful under HyperDA.  But if the user is running his favorite word processor and needs to get the address of a client to copy and paste into the inside address of a letter, he can open the address stack using the HyperDA desk accessory, use the usual find methods to locate the desired address, and then copy it for pasting into the letter.  Similarly, if all he wants is the phone number of his accountant while he‚Äôs doing a spreadsheet for this year‚Äôs taxes, the ability to stay in the spreadsheet, open the address stack, find the account and call her, may prove quite valuable.
  40.  
  41. Another major class of stacks that lends itself to effective HyperDA implementations is help or training software.  If you are developing an accounting package and you want your user to be able to look up unfamiliar accounting terms or get  advice about how to post a cash receipt to three different categories of income, HyperDA is a good bet.  The user need not either have MultiFinder or a machine with more than 1 Megabyte of RAM to avoid having to close your application and open HyperCard just for this purpose.
  42.  
  43.